from fastapi import APIRouter,Depends
from app import depends, dao

router = APIRouter(prefix="/di", tags=["依赖项学习"],dependencies=[Depends(depends.verifyToken())])
# router = APIRouter(prefix="/di", tag=[“依赖项学习”])


@router.get("/test")
async def test(user_id:int):
    """
    依赖项学习验证测试
    """
    return {"user_id":user_id}